//
//  ArtTableViewCell.m
//  项目
//
//  Created by 焦钟培 on 15-1-6.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ArtTableViewCell.h"

@implementation ArtTableViewCell

- (void)dealloc
{
    [_centerIma release];
    [_down release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.frame = [[UIScreen mainScreen] bounds];
        self.centerIma = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width/4 + 20, 10, self.frame.size.width / 2 - 40, 100)];
        [self.contentView addSubview:_centerIma];
        [_centerIma release];
        self.down = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width/4 + 20, 90, self.frame.size.width / 2 - 40, 20)];
        _down.textColor = [UIColor whiteColor];
        _down.backgroundColor = [UIColor darkGrayColor];
        [self.contentView addSubview:_down];
        [_down release];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
